The _ffff_dddd_eeee_tttt_aaaa_cccc_hhhh routine detaches a STREAMS-based file descriptor from a name
in the filesystem. _p_a_t_h is the pathname of the object in the filesystem
name space, which was previously attached (see _ffff_aaaa_tttt_tttt_aaaa_cccc_hhhh(3C)). The user
must be the owner of the file or a user with the appropriate privileges.
All subsequent operations on _p_a_t_h will operate on the filesystem node and
not on the STREAMS file. The permissions and status of the node are
restored to the state the node was in before the STREAMS file was
attached to it.
RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
If successful, _ffff_dddd_eeee_tttt_aaaa_cccc_hhhh returns 0; otherwise it returns -1 and sets _eeee_rrrr_rrrr_nnnn_oooo
to indicate an error.
EEEERRRRRRRROOOORRRRSSSS
Under the following conditions, the function _ffff_dddd_eeee_tttt_aaaa_cccc_hhhh fails and sets _eeee_rrrr_rrrr_nnnn_oooo
to:
_EEEE_PPPP_EEEE_RRRR_MMMM The effective user ID is not the owner of _p_a_t_h or is not a
user with appropriate permissions.
_EEEE_NNNN_OOOO_TTTT_DDDD_IIII_RRRR A component of the path prefix is not a directory.
_EEEE_NNNN_OOOO_EEEE_NNNN_TTTT _p_a_t_h does not exist.
_EEEE_IIII_NNNN_VVVV_AAAA_LLLL _p_a_t_h is not attached to a STREAMS file.
_EEEE_NNNN_AAAA_MMMM_EEEE_TTTT_OOOO_OOOO_LLLL_OOOO_NNNN_GGGG The size of _p_a_t_h exceeds _{{{{_PPPP_AAAA_TTTT_HHHH______MMMM_AAAA_XXXX_}}}}, or a pathname component
is longer than _{{{{_NNNN_AAAA_MMMM_EEEE______MMMM_AAAA_XXXX_}}}} while _{{{{______PPPP_OOOO_SSSS_IIII_XXXX______NNNN_OOOO______TTTT_RRRR_UUUU_NNNN_CCCC_}}}} is in
effect.
_EEEE_LLLL_OOOO_OOOO_PPPP Too many symbolic links were encountered in translating